<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="z" uri="zz" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>不合格理由</title>
    <meta name="referrer" content="no-referrer" />
    <meta name="Keywords" Content="${sp.html_head_Keywords}" />
    <meta name="Description" Content="${sp.html_head_Description}" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- 系统ICO图标 -->
    <link href="<%=request.getContextPath()%>/img/zico.ico" rel="shortcut icon" type="image/x-icon"  media="screen,print" />

    <!-- 引用小图标 -->
    <link  href="<%=request.getContextPath()%>/js/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" media="screen,print"/>

    <!-- 添加jQuery -->
    <script src="<%=request.getContextPath()%>/js/jquery-3.3.1.min.js"></script>

    <!-- 添加BootStrap -->
    <script src="<%=request.getContextPath()%>/js/bootstrap-4.6.0/js/popper.min.js" type="text/javascript"></script>
    <link  href="<%=request.getContextPath()%>/js/bootstrap-4.6.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" media="screen,print"/>
    <script src="<%=request.getContextPath()%>/js/bootstrap-4.6.0/js/bootstrap.min.js" type="text/javascript"></script>

    <!-- EasyUI -->
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-easyui-1.8.8/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-easyui-1.8.8/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-easyui-1.8.8/plugins/jquery.datagrid.js"></script>

    <c:if test="${empty zuser.z_themes}">
        <link href="<%=request.getContextPath()%>/js/jquery-easyui-1.8.8/themes/gray/easyui.css" rel="stylesheet" type="text/css" media="screen,print"/>
    </c:if>
    <c:if test="${not empty zuser.z_themes && zuser.z_themes!=''}">
        <link href="<%=request.getContextPath()%>/js/jquery-easyui-1.8.8/themes/${zuser.z_themes}/easyui.css" cc="${zuser.z_themes}" rel="stylesheet" type="text/css" media="screen,print"/>
    </c:if>

    <!-- 添加平台公用js css -->
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/z.js?version=${sp.zversion}" charset="UTF-8"></script>
    <link  href="<%=request.getContextPath()%>/js/z.css?version=${sp.zversion}" rel="stylesheet" type="text/css" media="screen,print"/>

    <script type="text/javascript">

        /**
         * 审核不能过
         * @constructor
         */
        function SetIsValidity0(customid,notice_type,title){
            var notice = "您的证照信息审核不合格，原因：【"+$("#hobby_id").val()+"】,请您修改对应信息。";
            $.messager.confirm('信息提示', '您确定要审核不能过吗？不通过理由：'+notice, function (r) {
                if (r) {
                    $.ajax({
                        type: "get",
                        url: 'SetIsValidity0',
                        data: {customid: customid, notice_type: notice_type, title: title, notice: notice},
                        success: function (data) {
                            if (data.code == 'SUCCESS') {
                                window.opener.RefreshList();
                                window.close();
                            } else {
                                alertErrorMessager('' + data.msg);
                            }
                        },
                        error: function (data) {
                            alertErrorMessager('ajax错误：' + JSON.stringify(data));
                        }
                    });

                }
            });
        }

    </script>
</head>
<body>
<div class="container-fluid">
    <div class="input-group input-group-sm">

        <div class="input-group-prepend"><div class="input-group-text "><h1>不合格理由：</h1></div></div>
        <div class="zcheckbox_div">
            <input id="hobby_id" name="hobby" type="hidden" value="">
            <div class="form-check float_left">
                <input class="zcheckbox" onchange="getCheckedValue('hobby_id','hobby_name')" type="checkbox" name="hobby_name" id="hobby1_checked_id" value="营业执照名称错误">
                <label class="form-check-label" for="hobby1_checked_id">营业执照名称错误</label>
            </div>
            <div class="form-check float_left">
                <input class="zcheckbox" onchange="getCheckedValue('hobby_id','hobby_name')" type="checkbox" name="hobby_name" id="hobby2_checked_id" value="营业执照代码错误">
                <label class="form-check-label" for="hobby2_checked_id">营业执照代码错误</label>
            </div>
            <div class="form-check float_left">
                <input class="zcheckbox" onchange="getCheckedValue('hobby_id','hobby_name')" type="checkbox" name="hobby_name" id="hobby3_checked_id" value="经营者错误">
                <label class="form-check-label" for="hobby3_checked_id">经营者错误</label>
            </div>
            <div class="form-check float_left">
                <input class="zcheckbox" onchange="getCheckedValue('hobby_id','hobby_name')" type="checkbox" name="hobby_name" id="hobby4_checked_id" value="营业执照注册时间错误">
                <label class="form-check-label" for="hobby4_checked_id">营业执照注册时间错误</label>
            </div>
            <div class="form-check float_left">
                <input class="zcheckbox" onchange="getCheckedValue('hobby_id','hobby_name')" type="checkbox" name="hobby_name" id="hobby5_checked_id" value="营业执照图片不合格">
                <label class="form-check-label" for="hobby5_checked_id">营业执照图片不合格</label>
            </div>
            <div class="form-check float_left">
                <input class="zcheckbox" onchange="getCheckedValue('hobby_id','hobby_name')" type="checkbox" name="hobby_name" id="hobby6_checked_id" value="身份证图片不合格">
                <label class="form-check-label" for="hobby6_checked_id">身份证图片不合格</label>
            </div>
        </div>

        <button type="button" class="btn btn-primary btn-lg mt-5" onclick="SetIsValidity0('${customid}','0','信息审核未通过')">提交审核信息</button>
    </div>
</body>
</html>